package com.vf.admin.miaodong.service;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppGameGiftRecord;

import java.util.List;
import java.util.Map;

/**
 * 砸蛋游戏记录
 */
public interface AfterGameGiftRecordService {

    //列表查询
    List<AppGameGiftRecord> list(Map<String,Object> paraMap, SplitPageBean splitPage);

    //详情
    AppGameGiftRecord get(Integer id);

    //新增，修改
    void save(AppGameGiftRecord haoYou);

    //删除
    void del(Integer id);

    /**
     * 根据房间roomid和用户userid查询 抽奖金额
     * @param roomid
     * @param userid
     * @return
     */
    public Long findFlow(String roomid,Integer userid);


}
